﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Buisness_Level
{
    public class Student : Person
    {
        private string groupName;
        private string specialityCode;
        bool needsSubsidy;


        public Student(string firstName, string middleName, string secondName, string groupName, 
            string specialityCode, bool needsSubsidy) :
            base(firstName, middleName, secondName)
        {
            this.groupName = groupName;
            this.specialityCode = specialityCode;
            this.needsSubsidy = needsSubsidy; 
        }

        public override double CalculateScores(List<int> scores)
        {
            return base.CalculateScores(scores);
        }


        //public string FullName() // method
        //{
        //    return secondName + " " + firstName.Substring(0, 1) + 
        //    ". " + middleName.Substring(0, 1) + ". "; // нначиная с нулевого взять один symbol Фамилия И.О
        //}

 
    }
}
